package com.itheima.pojo;

import lombok.Data;

import java.util.List;

/**
 * 分页返回值对象
 * {
 *
 * 		"total": 117,
 * 		"size": 10,
 * 		"current": 1,
 * 		"pages": 12    * 	}
 */
@Data
public class PageResult {
    //数据的集合
    private List records;
    //总条数
    private Integer total;
    //每页显示的条数
    private Integer size;
    //页码
    private Integer current;
    //总页数
    private Integer pages;

}
